<?php
    $curDir = dirname(__FILE__) . DS . 'plugin';
    $plugins = Core_IoUtils::instance()->scanDir($curDir);
    foreach ($plugins as $value) {
        if (is_numeric(strpos($value, '.autoload'))) {
            include $curDir . DS . $value;
        }
    }